package com.override;

public class Cat extends Animal{
    public String name = "小猫";
    static {
        System.out.print("小猫");
    }
    @Override
    public void eat() {
        super.eat();
        System.out.print("吃的是小鱼干");
    }
}
